package com.campus.dao;

import com.campus.dto.CourseConditionDto;
import com.campus.model.Course;

import java.util.List;

public interface CourseDao {
    int createCourse(Course course);
    List<Course> getCoursesByCondition(CourseConditionDto condition);
    int deleteCourse(int courseId);
    int updateCourse(Course course);
    List<Course> findAllCourses(); // 新增方法
}
